package net.wds.ssbus.modules.ssbus.util;

import net.wds.ssbus.modules.app.utils.JwtUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;

public class UserInfoUtils {
    public static String getLoginUser(){
        Subject subject = SecurityUtils.getSubject();
       String id=(String) subject.getSession().getId();

       System.out.println("-------------"+ id);
        return id;
    }
}
